import { createApp } from "vue";
import App from "./App.vue";
import router from "@/router";
import { createPinia } from "pinia";
import ArcoVue from "@arco-design/web-vue";
import "@arco-design/web-vue/dist/arco.css";
import "@/config/axiosIntercepters";
import "./assets/icon/IconFront.css";
import piniaPersist from "pinia-plugin-persist";
import ArcoVueIcon from "@arco-design/web-vue/es/icon";

const elementApp = createApp(App);

const piniaInfo = createPinia();

elementApp.use(ArcoVueIcon);

piniaInfo.use(piniaPersist);

elementApp.use(piniaInfo).use(router).use(ArcoVue).mount("#app");
